ThirstyAffiliates\Models\Affiliate_Links_CPT B

Total Complexity 86
Dependencies 7
Dependents 1
Total lines 1,007
Lines of code 449
Logical lines of code 245
Comment lines 351
Methods 30
Properties 5

Methods 30

Method Rating Maintainability Complexity Lines of code
add_category_slug_to_permalink()
A
55 9 16
custom_post_listing_column_custom_sorting()
A
54 8 20
save_post()
A
48 7 31
custom_post_listing_column_value()
S
51 6 27
register_metaboxes()
S
44 3 49
convert_cat_id_to_slug_in_query()
S
60 5 12
ajax_link_inserted_scanner()
S
52 4 22
get_inserted_into_rows_html()
S
54 4 20
ajax_get_category_slug()
S
57 4 14
register_thirstylink_custom_post_type()
S
44 1 48
restrict_links_by_category()
S
56 3 17
get_menu_icon()
S
66 4 7
inserted_link_scanner_metabox()
S
58 3 13
custom_post_listing_column()
S
59 3 13
register_thirstylink_category_custom_taxonomy()
S
46 1 38
get_thirstylink_post()
S
72 3 5
sort_metaboxes()
S
69 3 6
link_options_metabox()
S
57 1 15
get_instance()
S
72 2 5
replace_permalink_with_id()
S
71 2 5
run()
S
58 1 14
custom_post_listing_sortable_column()
S
68 1 7
save_default_affiliate_link_category()
S
81 1 3
save_affiliate_link_metabox()
S
80 1 3
attach_images_metabox()
S
69 1 6
urls_metabox()
S
67 1 7
register_admin_menu_items()
S
65 1 9
register_admin_interfaces()
S
71 1 6
initialize()
S
70 1 6
__construct()
S
73 1 5